#ifndef _MODELRENDERFEATURE_H_
#define _MODELRENDERFEATURE_H_

#include <SERender/Renderer/RenderFeature/RenderFeature.h>
#include <memory>
#include <SECore/ResourcePayload.h>
#include <SERender/Resourses/Shader.h>

namespace SEngine
{
    class Material;
    class Model;
    class ModelRenderFeature : public RenderFeature
    {
    public:
        ModelRenderFeature(Renderer & renderer) : RenderFeature(renderer) {}
        virtual ~ModelRenderFeature() = default;
        virtual void BeginFrame() override {}
        virtual void EndFrame() override {}
        void DrawModel(Model & model);
        void DrawModel(Model & model, ResRef<Material> material);
        void DrawModel(Model & model, ResRef<Shader> shader);
    };
} // namespace SEngine


#endif